-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add clipping treatment for negative values of non-negative tracers #682
add clipping treatment for negative values of non-negative tracers #682
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good to me. I approve this PR.
@AmandaBack-NOAA Could you run regression test on Hera, Orion and WCOSS2? Thanks. |
@AmandaBack-NOAA @TingLei-NOAA Could you sync with current develop branch? Thanks, Ming |
@hu5970 synced. |
@AmandaBack-NOAA Thanks. |
The regression test results on Hera:
The reason of failure for three regional cases is:
It is the difference of the fv3_tracer files between control and update runs caused failure. When diff those two tracer files with ncdiff: The same diff results are also true for "hafs_3denvar_hybens" and "rrfs_3denvar_glbens". This PR is to "Clips negative values from fields in the tracer file before writing". This difference in moisture field is expected. |
The regression test results from Cactus:
The reason of failure for three regional cases are the same as the results from Hera tests:
So the regression test on Wcoss2 passed. |
Ming
Thank you so much for doing the regression test and your clarifiying of the
results.
Ting
…______________________________
Ting Lei
Physical Scientist, Contractor with Lynker in support of
EMC/NCEP/NWS/NOAA
5830 University Research Ct., Cubicle 2765
College Park, MD 20740
***@***.***
301-683-3624
On Sun, Jan 21, 2024 at 8:18 PM Ming Hu ***@***.***> wrote:
The regression test results from Cactus:
***@***.*** build] ctest -j7
Test project /lfs/h2/emc/ptmp/Ming.Hu/gsi/GSI/build
Start 1: global_4denvar
Start 2: rtma
Start 3: rrfs_3denvar_glbens
Start 4: netcdf_fv3_regional
Start 5: hafs_4denvar_glbens
Start 6: hafs_3denvar_hybens
Start 7: global_enkf
1/7 Test #4: netcdf_fv3_regional .............. Passed 483.52 sec
2/7 Test #7: global_enkf ...................... Passed 621.34 sec
3/7 Test #3: rrfs_3denvar_glbens ..............***Failed 665.50 sec
4/7 Test #6: hafs_3denvar_hybens ..............***Failed 1213.37 sec
5/7 Test #5: hafs_4denvar_glbens ..............***Failed 1284.06 sec
6/7 Test #1: global_4denvar ................... Passed 1567.19 sec
Test project /lfs/h2/emc/ptmp/Ming.Hu/gsi/GSI/build
Start 2: rtma
1/1 Test #2: rtma ............................. Passed 968.63 sec
100% tests passed, 0 tests failed out of 1
Total Test time (real) = 968.63 sec
—
Reply to this email directly, view it on GitHub
<#682 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/APEFS7G7Q23DDRRMXSYH2CDYPW44JAVCNFSM6AAAAABBWXQBYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBSHA2TEMJSHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
While this PR is closed, I was curious as to why Print statements were added to
Is it possible that that negative values of |
That is a good question. Ting and I had discussed about this. fv3_h_to_ll could be one of possible reasons. Ting had other finding and he may add more about it. |
I have no more to add to @hongli-wang and yes, we think that fv3_ll_to_h is the reason for negative values in q/sphum. Thanks to @RussTreadon-NOAA 's digging in and verification of its actual behavior. |
Description
Clips negative values from fields in the tracer file before writing. Fixes #680.
Type of change
How Has This Been Tested?
Tested on Hera in a RRFS CONUS workflow with both hybrid_radar_ref and anal_gsi_input tasks.
See run directory at /scratch2/BMC/zrtrr/aback/hydrometeors_test/
For one hour of the control run without this change, and one hour using the change contained in this PR, the INPUT directory was saved for reference/rerunning before each of the tasks: anal_gsi_input_spinup, hybrid_radar_ref_spinup, cldanl_nonvar_spinup, and run_fcst spinup. Those directories are at, for example /scratch2/BMC/zrtrr/aback/hydrometeors_test/INPUT_after_anal_gsi_input_spinup_before_hybrid_radar_ref_spinup ("control") and /scratch2/BMC/zrtrr/aback/hydrometeors_test/clipped_INPUT_after_anal_gsi_input_spinup_before_hybrid_radar_ref_spinup
(using the code in the PR).
Logs are at /scratch2/BMC/zrtrr/aback/hydrometeors_test/v0.7.9/logs/rrfs.20230610/08/, including new logs produced between all the above-listed tasks, showing all the min and max values in fv_tracer.
Checklist
The code is Ting Lei's. It looks stylish and understandable to me (Amanda) but maybe Ting should weigh in on this section.
DUE DATE for merger of this PR into
develop
is 2/22/2024 (six weeks after PR creation).